<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我不是真正的慕课网</title>

<link rel="stylesheet"
    href="<%=request.getContextPath()%>/resources/css/main.css"
    type="text/css" />
</head>
<body>
    <div id="main">
        <div class="newcontainer" id="course_intro">
            <form name="mainForm"
                action="<%=request.getContextPath()%>/mvc/save"
                method="post">
                <div>
                    <span>课程名称:</span>
                    <input type="text" id="title" name="title">
                </div>
                <div>
                    <span>课程时长:</span>
                    <input type="text" id="duration" name="duration">
                    秒
                </div>
                <div>
                    <span>课程难度:</span>
                    <select id="level" name="level">
                        <option value="0">初级</option>
                        <option value="1" selected="selected">中级</option>
                        <option value="2">高级</option>
                    </select>
                </div>
                <div>
                    <span>课程介绍:</span>
                    <textarea id="descr" name="descr" rows="5"
                        style="width: 480px"></textarea>
                </div>
                <div>
                    <input type="submit" id="btnPass" value="提交" />
                </div>
            </form>
        </div>
    </div>
</body>
</html>